package cn.laixueit.asp;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Component
@Aspect
public class Valibal {

    @Before("execution(* cn.laixueit.service.*.add(..))")
    public void add(){
        System.out.println("service包下的所有都增强。。。");
    }
}
